# format of the ImageJ "Count Objects" function
# it SAYS it's an excel file, BUT it's actually a TSV.

class Format:
  # it's a fucking spreadsheet
  # this isn't used yet...
  # basically it's to deal with any changes made to the output file in imagej
  # maybe this should be split up into several classes
  def __init__(self):
    #imagej .tsv
    # COULD be parsed from header line
    # using a dict...
    self.n = 0
    self.label = 1
    self.area = 2
    self.center = [3,4]
    self.perimeter = 5
    self.bounding_rect = [6,7,8,9]#range(6,10)
    self.ellipse = [10,11,12] # [major,minor,angle]
    self.circ = 13
    self.intden = 14
    self.rawintden = 15
    self.ar = 16
    self.solidity = 18